from django.contrib import admin

from apps.Blog.models import Category, Tag, Article

admin.site.register(Tag)
admin.site.register(Article)


@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ["name", "avatar", "language", "author", "create_time", "update_time"]
